package demo1;

public class Movie
{
    private int id;
    private String name;
    private String actor;
    private double score;
    public Movie()
    {

    }
    public Movie(int id,String name,String actor,double score)
    {
        this.id = id;
        this.name = name;
        this.actor = actor;
        this.score = score;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getActor() {
        return actor;
    }

    public void setActor(String actor) {
        this.actor = actor;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }
}
